package com.mapforge.map.tools.undo.tilesetedit;

import com.mapforge.Constants;
import com.mapforge.map.Tileset;

public class TilesetDimensionEdit extends AbstractTilesetEdit {

	int tilew;
	int tileh;

	public TilesetDimensionEdit(Tileset tileset, int tilew, int tileh) {
		super(tileset, Constants.TILESET_EDIT, "Tile Size");
		this.tilew = tilew;
		this.tileh = tileh;
	}

	@Override
	public void die() {
		tilew = tileh = -1;
	}

	@Override
	public void redo() {
		// TODO need to load proper image and set image files based on old w & h
		// of tiles
	}

	@Override
	public void undo() {
		// TODO need to load proper image and set image files based on old w & h
		// of tiles
	}

}
